<extend name="Public:index" />
<block name="main-crumb">
 <li class="active">任务类型</li>
</block>
<block name="main-content">

    <form id="add_form"  name="add_form" action="{:U(\'task_edit\')}" method="post" class="definewidth m20">
        <table class="table table-bordered table-hover definewidth m10">
              <tr>
                <td width="10%" class="tableleft">任务类型名称：</td>
                <td >
                <input type="text" name="data[name]" id="name"  value="{$datalist.name}" />
                </td>
              </tr>
               <tr>
                <td width="10%" class="tableleft">任务类型标志：</td>
                <td >
                <input type="text" name="data[sign]" id="sign"  value="{$datalist.sign}" />
                </td>
              </tr>
              <tr>
                <td class="tableleft">是否显示：</td>
                <td >
                     <input type="radio"  name = "data[is_show]"  <if condition="$datalist['is_show'] eq 1 "> checked="checked" </if> value="1" /> 显示
                      <input type="radio"  name = "data[is_show]" <if condition="$datalist['is_show'] eq 0 ">checked="checked" </if> value="0" /> 不显示

                </td>
              </tr>

              <tr>
                <td colspan="3">
                  <input type="hidden" name="id" id="id" value="{$datalist.id}" />
                  <input type="submit"class="btn btn_primary" id="sub" name="sub" value="保存"  />&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="reset" class="btn btn-success" value="清空" />
                </td>
              </tr>

        </table>
    </form>
</block>
<block name="myscript">
     <script src="__PUBLIC__/web/js/common.js"></script>
</block>